package com.magicyuan.search.restful.pojo;

import java.util.List;
import java.util.Map;

public class ESResponeObj {

    private List<SearchResult> resultList;

    private Long totalHits;
    
    private Map<String,Map<String,Object>> aggregations;

    public List<SearchResult> getResultList() {
        return resultList;
    }

    public void setResultList(List<SearchResult> resultList) {
        this.resultList = resultList;
    }

    public Long getTotalHits() {
        return totalHits;
    }

    public void setTotalHits(Long totalHits) {
        this.totalHits = totalHits;
    }

    
    public Map<String, Map<String, Object>> getAggregations() {
        return aggregations;
    }

    
    public void setAggregations(Map<String, Map<String, Object>> aggregations) {
        this.aggregations = aggregations;
    }


}
